package com.example.mall;

import com.alibaba.fastjson.annotation.JSONField;
import com.example.customer.PriceSerializer;
import lombok.Data;

@Data
public class Product {
    private Long id;
    private String name;
    @JSONField(serializeUsing = PriceSerializer.class)
    private Double price;
}
